package com.edu.jvm.unit01;

import sun.misc.Launcher;
import sun.security.ec.CurveDB;

import java.net.URL;
import java.security.Provider;
import java.sql.DriverManager;

public class ClassLoaderTest2 {

    public static void main(String[] args) throws Exception{
        ClassLoader classLoader = Class.forName("java.lang.String").getClassLoader();//引导类加载器
        ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();//AppClassLoader
        ClassLoader systemClassLoader1 = ClassLoader.getSystemClassLoader();//AppClassLoader
        System.out.println(classLoader);
        System.out.println(contextClassLoader);
        System.out.println(systemClassLoader1);
    }
}
